const image = document.getElementById('img') as HTMLImageElement
image.src = 'utl'

class Person {

}

class Student extends Person {
    studing() {

    }
}

function sayHello(p: Person) {
   (p as Student).studing()
}

const stu = new Student()
sayHello(stu)